Photocell Sensor Working Principle